gdkwindow: Avoid re-setting the opaque region if it doesn't change
authorRui Matos <tiagomatos@gmail.com>
Fri, 18 Aug 2017 10:01:54 +0000 (12:01 +0200)
committerRui Matos <tiagomatos@gmail.com>
Fri, 18 Aug 2017 17:01:00 +0000 (19:01 +0200)
commite702ee8fa68283ac68cc4b8338c413ce8c881bc2
tree2c66c3354b94e217e296a561ea7abff8f4f648f9
parente35266a6ae280e7cec32b837706cb6771250606e
gdkwindow: Avoid re-setting the opaque region if it doesn't change

This avoids, at least, needless chatter with the compositor and the X
server in X11's case.

https://bugzilla.gnome.org/show_bug.cgi?id=786469
gdk/gdkinternals.h
gdk/gdkwindow.c